@import "./pxtovw";
@import "./footer";
@mixin center{
    width: vw(704);
    margin: 0 auto;
}
@mixin img{
    width: 100%;
    height: 100%;
}
header{
    @include center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: vw(50);
    .back{
        width: vw(123);
        height: vw(57);
        border: 2px solid #ff9344;
        border-radius: vw(15);
        font-size: vw(30);
        color: black;
        text-align: center;
        line-height: vw(50);
    }
    .hd-name{
        font-size: vw(30);
    }
    .head-rg{
        width: vw(60);
        height: vw(40);
        position: relative;
        &::after{
            content: "2";
            display: inline-block;
            height: vw(28);
            width: vw(28);
            font-size: vw(17);
            text-align: center;
            line-height: vw(28);
            color: white;
            border-radius: 50%;
            background-color: red;
            position: absolute;
            right: 0;
            top: -40%;

        }
        img{
            @include img;
        }
    }
  
}
section{
    @include center;
    margin-top: vw(20);
    margin-bottom: vw(110);
    .account{
        display: flex;
        justify-content: space-between;
        align-items: center;
        div:first-child{
            display: flex;
            justify-content: space-between;
            width: vw(350);
            div:first-child{
                height: vw(170);
                width: vw(170);
                border-radius: 50%;
                overflow: hidden;
                img{
                    @include img;
                    transform: scale(1.7) translate(-10%,10%);
                }
             }
            div:last-child{
                p:first-child{
                    font-size: vw(35);
                    margin-top:vw(30);
                }
                p:last-child{
                    font-size: vw(25);
                    color:#9d9d9d ;
                    margin-top:vw(30);
                }
            }        
        }
        div:last-child{
            font-size: vw(50);
        }
    }
    .function{
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: vw(28);
        .comment{
            width: vw(195);
            height: vw(150);
            background-color:#b2e0a0;
            font-size:vw(30);
            text-align: center;
            padding: vw(10);
            img{
                width: vw(82);
                height: vw(82);
            }
            p{
                font-size:vw(30);
            }
        }
        .collect{
            @extend .comment;
            background-color:#a0dce0 ;
        }
        .discounts{
            @extend .comment;
            background-color: #e0b7a0;
            img{
                width:vw(125) ;
            }
        }
    }
    .fc-nav{
        div{
            display: flex;
            justify-content: space-between;
            margin-top: vw(15);
            .nav-lf{
                display: flex;
                align-items: center;
                // width: vw(200);
                img{
                    width: vw(60);
                    height: vw(60);
                }
                p{
                    font-size:vw(27) ;
                    margin-left: vw(40);
                }
            }
            .nav-rg{
                display: flex;
                align-items: center;
                img{
                    width: vw(30);
                    height: vw(30);
                    }
                p{
                    font-size: vw(27);
                }
            }
        }
    }
    .setting{
        @extend .fc-nav;
        margin-top:vw(50) ;
    }
   .login{
       display: flex;
       justify-content: space-around;
       margin-top: vw(35);
       div{
           width: vw(150);
           height: vw(70);
           background-color: #ff9344;
           color: white;
           font-size:vw(25) ;
           text-align: center;
           line-height: vw(70);
           border-radius: vw(30);
       }
   }
}